//
//  SLHomeSlidMenuView.h
//  SlockApp
//
//  Created by 凯朱 on 2024/7/10.
//

#import <UIKit/UIKit.h>
#import "SLHomeMenuCell.h"
NS_ASSUME_NONNULL_BEGIN

@interface SLHomeMenuView : UIView
@property (weak, nonatomic) IBOutlet UIView *topView;
@property (weak, nonatomic) IBOutlet UIImageView *logo;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *logoTopSpace;
@property (weak, nonatomic) IBOutlet UIView *menuBgView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *menuBgTopSpace;
@property (weak, nonatomic) IBOutlet UIView *bottomView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bottomToBottomSpace;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topViewTopSpace;
@property (weak, nonatomic) IBOutlet ZKBaseButton *nameBtn;
@property (weak, nonatomic) IBOutlet UIView *line;
@property (weak, nonatomic) IBOutlet UIView *bgView2;
@property (weak, nonatomic) IBOutlet UIView *bgView1;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *menuBgViewHeight;

@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UILabel *nameLbl;
@property (weak, nonatomic) IBOutlet UILabel *emailLbl;
@property (weak, nonatomic) IBOutlet UIButton *editBtn;
@property (weak, nonatomic) IBOutlet UILabel *supLbl;
@property (weak, nonatomic) IBOutlet UILabel *versionLbl;
@property (weak, nonatomic) IBOutlet UIButton *shareBtn;
@property (weak, nonatomic) IBOutlet UIView *grayView;
@property (nonatomic,copy) void (^btnBlock)(NSInteger btnIndex);

@property (nonatomic,copy) void (^menuCellBlock)(SLHomeMenuModel *model);
-(void)refreshSubViews;
@end

NS_ASSUME_NONNULL_END
